8
|
How do I put a picture on the control's center top side

ScrollBar1->Picture = (IPictureDisp*)(ScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ScrollBar1->PictureDisplay = Exscrollbarlib_tlb::PictureDisplayEnum::UpperCenter;
ScrollBar1->Value = 50;
ScrollBar1->VisiblePart[Exscrollbarlib_tlb::PartEnum::exBackgroundPart] = false;
ScrollBar1->BackColor = 0x80000004;
|
7
|
How do I put a picture on the control's right top corner

ScrollBar1->Picture = (IPictureDisp*)(ScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ScrollBar1->PictureDisplay = Exscrollbarlib_tlb::PictureDisplayEnum::UpperRight;
ScrollBar1->VisiblePart[Exscrollbarlib_tlb::PartEnum::exBackgroundPart] = false;
ScrollBar1->BackColor = 0x80000004;
ScrollBar1->Value = 50;
|
6
|
How do I put a picture on the control's left top corner

ScrollBar1->Picture = (IPictureDisp*)(ScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ScrollBar1->PictureDisplay = Exscrollbarlib_tlb::PictureDisplayEnum::UpperLeft;
ScrollBar1->VisiblePart[Exscrollbarlib_tlb::PartEnum::exBackgroundPart] = false;
ScrollBar1->BackColor = 0x80000004;
ScrollBar1->Value = 50;
|
5
|
How do I put a picture on the control's background

ScrollBar1->Picture = (IPictureDisp*)(ScrollBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ScrollBar1->VisiblePart[Exscrollbarlib_tlb::PartEnum::exBackgroundPart] = false;
ScrollBar1->BackColor = 0x80000004;
|
4
|
How can I change the size of control's font

ScrollBar1->Font->Size = TVariant(long(12));
ScrollBar1->ForeColor = RGB(255,0,0);
ScrollBar1->Caption[Exscrollbarlib_tlb::PartEnum::exThumbPart] = L"<img>0</img>thumb";
|
3
|
How do I change the control's font

ScrollBar1->Font->Name = L"Tahoma";
ScrollBar1->ForeColor = RGB(255,0,0);
ScrollBar1->Caption[Exscrollbarlib_tlb::PartEnum::exThumbPart] = L"<img>0</img>thumb";
|
2
|
How can I change the control's foreground color

ScrollBar1->ForeColor = RGB(255,0,0);
ScrollBar1->Caption[Exscrollbarlib_tlb::PartEnum::exThumbPart] = L"<img>0</img>thumb";
|
1
|
How can I change the control's background color

ScrollBar1->BackColor = RGB(0,255,0);
ScrollBar1->VisiblePart[Exscrollbarlib_tlb::PartEnum::exBackgroundPart] = false;
|